package com.ideaaedi.springcloud.jd.commonds.entity.user.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 修改用户手机号 req
 *
 * @author <font size = "20" color = "#3CAA3C"><a href="https://gitee.com/JustryDeng">JustryDeng</a></font> <img src="https://gitee.com/JustryDeng/shared-files/raw/master/JustryDeng/avatar.jpg" />
 * @since 2022/9/8 16:10:40
 */
@Data
public class PhoneUpdateReqVO {
    
    /**
     * 用户id
     */
    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id", required = true)
    private Long userId;
    
    /**
     * 新手机号
     */
    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty(value = "新手机号", required = true)
    private String phone;
}
